-- Only one of Exif, IIM (no digest), or XMP
read "../../input/base.*" set exif copyright RIGHT-Exif write-nd "Copyright-01_+Exif-IIM-XMP"
read "../../input/base.*" set iim copyright RIGHT-IIM write-nd "Copyright-02_-Exif+IIM-XMP_-IIMDigest"
read "../../input/base.*" set xmp copyright RIGHT-XMP write-nd "Copyright-03_-Exif-IIM+XMP"

-- Exif with IIM (no digest), or with XMP
read "../../input/base.*" set exif copyright RIGHT-Exif set iim copyright WRONG-IIM write-nd "Copyright-04_+Exif+IIM-XMP_-IIMDigest"
read "../../input/base.*" set exif copyright RIGHT-Exif set xmp copyright WRONG-XMP write-nd "Copyright-05_+Exif-IIM+XMP"

-- IIM with XMP, all 3 forms of IIM digest (match, differ, missing)
read "../../input/base.*" set iim copyright WRONG-IIM set xmp copyright RIGHT-XMP write "Copyright-06_-Exif+IIM+XMP_+IIMDigest"
read "../../input/base.*" set iim copyright RIGHT-IIM set xmp copyright WRONG-XMP write-zd "Copyright-07_-Exif+IIM+XMP_#IIMDigest"
read "../../input/base.*" set iim copyright WRONG-IIM set xmp copyright RIGHT-XMP write-nd "Copyright-08_-Exif+IIM+XMP_-IIMDigest"

-- All 3 forms, no IIM digest
read "../../input/base.*" set exif copyright RIGHT-Exif set iim copyright WRONG-IIM set xmp copyright WRONG-XMP write-nd "Copyright-09_+Exif+IIM+XMP_-IIMDigest"

-- IIM only, IIM digest match
read "../../input/base.*" set iim copyright RIGHT-IIM write "Copyright-10_-Exif+IIM-XMP_+IIMDigest"

-- XMP only, IIM digest present
read "../../input/base.*" set xmp copyright RIGHT-XMP write-fd "Copyright-11_-Exif-IIM+XMP_+IIMDigest"

-- XMP only, IIM digest differs
read "../../input/base.*" set xmp copyright WRONG-XMP write-zd "Copyright-12_-Exif-IIM+XMP_#IIMDigest"
